<?php
namespace App\Adshopuser\Models;
use Common\BaseModel;
class BShopMessageKj extends BaseModel
{
    protected $res;
    protected $redis_key="admin_";
    public function initialize()
    {
        parent::initialize();
        $this->setSource('b_shop_message_kj');
    }

    //获取快捷列表
    public function get_kj_list($shop_id){
        $conditions = "shop_id={$shop_id}";
        $get_list = $this->find(array(
            $conditions
        ));
        return $get_list;
    }
}
